﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;
using System.Xml;
using System.Collections.Specialized;

namespace Redis.Utils
{
    /// <summary>
    /// web.config中的section部分提供的类
    /// </summary>
    public class RedisSectionHandler : IConfigurationSectionHandler
    { 
        public object Create(object parent, object configContext, XmlNode section)
        {
            NameValueCollection configs;
            NameValueSectionHandler baseHandler = new NameValueSectionHandler();
            configs = (NameValueCollection)baseHandler.Create(parent, configContext, section);
            return configs;
        }
    }
}
